app
.controller('formSelfCtrl', ['$scope', '$http', FormSelfController]);
function FormSelfController($scope, $http){
	$scope.changeValueMap = function(field) {
		
		var firstType = $scope.valueMap['firstType'];
		var secondType = $scope.valueMap['secondType'];
		var thirdType = $scope.valueMap['thirdType'];


		var integrityType = (firstType?firstType:'')+(secondType?'*'+secondType:'')+(thirdType?'*'+thirdType:'')
		$scope.valueMap['integrityType'] = integrityType;
	}
}

